package com.example.demo.services.imp;


import com.example.demo.entity.UserHeader;
import com.example.demo.mapper.UserHeaderMapper;
import com.example.demo.services.UserHeaderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserHeaderServiceImp implements UserHeaderService {

    @Autowired
    private UserHeaderMapper userHeaderMapper;

    @Override
    public UserHeader selectUser(String userId) {
        return userHeaderMapper.selectUser(userId);
    }

    @Override
    public Integer inserHeader(String userId, String img) {
        return userHeaderMapper.inserHeader(userId, img);
    }
}
